package project.events.packageEvents;

import project.layer.physical.Crossroad;
import project.layer.physical.Package;
import framework.layer.physical.position.ContinuousPosition;

public class PackageCreatedEvent extends PackageEvent {

	private ContinuousPosition position;
	private Crossroad origin;

	public PackageCreatedEvent(Package pack, ContinuousPosition position, Crossroad origin) {
		super(pack);
		this.position = position;
		this.origin = origin;
	}

	public ContinuousPosition getPosition() {
		return position;
	}

	public Crossroad getOriginCrossroad() {
		return this.origin;
	}
}
